import request from "@/utils/request";

// 事故点位列表
export function accidentsList(data) {
	return request({
		url: '/non-coal-mine-gov/d401/accident/list',
		method: "get",
		params: data
	});
}

// 事故点位列表
export function accidentDistribution(data) {
	return request({
		url: '/non-coal-mine-gov/d401/accident',
		method: "get",
		params: data
	});
}
// 事故点位详情
export function accidentDetails(id,data) {
	return request({
		url: '/non-coal-mine-gov/d401/accident?accidentId='+id,
		method: "get",
		params: data
	});
}

// 矿山点位列表
export function minePoint(data) {
	return request({
		url: '/non-coal-mine-gov/d401/mine/list',
		method: "get",
		params: data
	});
}
// 矿山点位详情
export function minePointdetails(id, data) {
	return request({
		url: '/non-coal-mine-gov/d401/mine/' + id,
		method: "get",
		params: data
	});
}

// 隐患点位列表
export function hiddenPointPosition(data) {
	return request({
		url: '/non-coal-mine-gov/d401/hidden/list',
		method: "get",
		params: data
	});
}
// 隐患点位详情
export function hiddendetails(id,data) {
	return request({
		url: '/non-coal-mine-gov/d401/hidden?hiddenId='+id,
		method: "get",
		params: data
	});
}

//巡查点点位列表
export function inspectionPoint(data) {
	return request({
		url: '/non-coal-mine-gov/d401/point/list',
		method: "get",
		params: data
	});
}
//巡查点点位详情
export function inspectionPointDetails(id,data) {
	return request({
		url: '/non-coal-mine-gov/d401/point/'+id,
		method: "get",
		params: data
	});
}

//监控设备点位列表
export function monitoringEquipment(data) {
	return request({
		url: '/non-coal-mine-gov/d401/watch/list',
		method: "get",
		params: data
	});
}
//监控设备点位详情
export function monitoringDetails(id,data) {
	return request({
		url: '/non-coal-mine-gov/d401/monitor/'+id,
		method: "get",
		params: data
	});
}
//监测设备点位列表
export function watchsEquipment(data) {
	return request({
		url: '/non-coal-mine-gov/d401/monitor/list',
		method: "get",
		params: data
	});
}
//监测设备点位详情
export function watchsDetails(id,data) {
	return request({
		url: '/non-coal-mine-gov/d401/sensor/monitoring/'+id,
		method: "get",
		params: data
	});
}
//责任区点位列表
export function areaResponsibility(data) {
	return request({
		url: '/non-coal-mine-gov/d401/zone/list',
		method: "get",
		params: data
	});
}
